package com.lcj.dr.db.dao;


import com.lcj.dr.db.pojo.WalletEntity;

import java.util.Map;

public interface WalletDao {

    /**
     * 添加司机钱包记录
     * @param entity
     * @return
     */
    public int insert(WalletEntity entity);

    int updateWalletBalance(Map param);

    int updateWalletBalanceNoPassword(Map param);

    Double selectBalance(Long driverId);

    Map selectWallet(Long driverId);
}




